#include <iostream>
#include<math.h>
using namespace std;

 main()
{
    float M;
    int t=1000;
    int m;

    cout<< "Enter M";
    cin>> M;
    m=M/1000;

            cout<< "m="<< m;
    return 0;
}
